<?php
require_once 'sub/init.php';
if(is_mobile()){
	require_once ZEAI.'m/index.php';
}else{
	require_once ZEAI.'p/index.php';
}
/*
$FNAME = (empty($z))?'index':$z;
$FARR  = array('index','user','login','u','trend','dating','party','party_detail','video','hongniang','news','my_msg','my');
$FNAME = (!in_array($FNAME,$FARR))?'index':$FNAME;
if($z=='login'){
	if(is_mobile()){
		header("Location: ".HOST."/m/login.php?jumpurl=".urlencode($jumpurl));
	}else{
		header("Location: ".HOST."/p/login.php?jumpurl=".urlencode($jumpurl));
	}
}else{
	if(is_mobile()){
		require_once ZEAI.'m/'.$FNAME.'.php';
	}else{
		require_once ZEAI.'p/'.$FNAME.'.php';
	}
}
*/
?>